#include "ex.h"
#include <iostream>
#ifndef EX_CPP
#define EX_CPP

using namespace std;
pasare::pasare()
  {
  int x=0;
  int* an=&x;
  (*this).varsta=*an;
  }
pasare::~pasare()
  {
  int* x=&(*this).varsta;
  delete x;
  std::cout<<"Obiectul a fost sters!";
  }
void pasare::setVarsta(int d)
  {
  (*this).varsta=d;
  }
int pasare::getVarsta()
  {
  return (*this).varsta;
  }
#endif
